<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>相对定位position: relative</title>
		<style>
			.eight{
				font-size: 6px;
				margin: 5em;
				background-color: lightyellow;
				display: flex;
				flex-direction: column;
				align-items: center;
			}
			.eight div{
				border: 3em solid lightgreen;
				border-radius: 50%;
				
			}
			.eight div:nth-child(1){
				width: 18em;
				height: 18em;
			}
			.eight div:nth-child(2){
				width: 20em;
				height: 20em;
			}
		/* 	.eight:nth-child(2) div:nth-child(1){
				position: relative;
				top: 3em;
			} */
		</style>
	</head>
	<body>
		<figure class="eight">
			<div></div>
			<div></div>
		</figure>
	</body>
</html>
